<article class="module width_full">
    <header><h3>{$title}</h3></header>
        <div class="module_content">
            <div class="content">
				{foreach from=$from item=item}
                <fieldset>
                    <legend><b>&raquo; {$item.title}</b></legend>
					<div style="padding:5px;">
						{$item.text|nl2br}
					</div>
                </fieldset>
				{/foreach}
			</div>
        </div>
	<footer>
		<div class="submit_link">
			<a href="index.php?mod=rules"><input type="submit" value="{#back#}" class="alt_btn"></a>
			<a href="index.php?mod=rules&page=edit&id={$id}"><input type="submit" value="{#edit#}" class="alt_btn"></a>
			<a href="index.php?mod=rules&page=detail&action=delete&id={$id}"><input type="submit" value="{#delete#}" class="alt_btn"></a>
		</div>
	</footer>
</article>
<div class="modal" id="deletet">
	<h3>{#deletet#}</h3>
	<p>{#success_deletet#}</p>
</div>
<div class="modal" id="edited">
	<h3>{#edited#}</h3>
	<p>{#success_edited#}</p>
</div>